package com.ruoyi.oa.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 离职申请对象 oa_human_depart
 *
 * @author ruoyi
 * @date 2023-07-02
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("oa_human_depart")
public class OaHumanDepart extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 主键
     */
    @TableId(value = "id")
    private String id;
    /**
     * 部门id
     */
    private Long deptId;
    /**
     * 用户id
     */
    private Long userId;
    /**
     * 申请人id
     */
    private String applicantId;
    /**
     * 申请人姓名
     */
    private String applicantName;
    /**
     * 职位
     */
    private String position;
    /**
     * 入职日期
     */
    private Date entryDate;
    /**
     * 申请离职日期
     */
    private Date applyDepartDate;
    /**
     * 预计离职日期
     */
    private Date expectDepartDate;
    /**
     * 离职原因
     */
    private String departReason;
    /**
     * 附件
     */
    private String attachment;

    private String nickName;

}
